package sample11;

public class AbstractVehicle {

	int num;
	double gas;

	AbstractVehicle(int num, double gas) {
		this.num = num;
		this.gas = gas;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public double getGas() {
		return gas;
	}

	public void setGas(double gas) {
		this.gas = gas;
	}
}
